package com.mock.action.member;

import com.mock.dao.MemberDao;
import com.mock.dao.impl.MemberDaoImpl;
import com.mock.model.Member;
import com.opensymphony.xwork2.ActionSupport;

public class AddMemberAction extends ActionSupport{
	
	private MemberDao memberDao = new MemberDaoImpl();
	private Member member;
	public String execute() {
		memberDao.add(member);
		return SUCCESS;
	}
	public Member getMember() {
		return member;
	}
	public void setMember(Member member) {
		this.member = member;
	}
}
